Skip to content

Conversation

@TarekkMA
Copy link
Contributor

@TarekkMA TarekkMA commented Jun 2, 2023

No description provided.

T::IsAccountBlocked::is_allowed_account(caller.clone(), space.id),
ModerationError::AccountIsBlocked
);
Self::ensure_account_can_update_post(&caller, &post, space)?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to use ensure_account_can_hide_post

@F3Joule F3Joule marked this pull request as draft December 6, 2023 20:58
@F3Joule F3Joule added enhancement New feature or request question Further information is requested labels Dec 6, 2023
@F3Joule F3Joule requested review from F3Joule and siman January 5, 2024 14:16
@F3Joule F3Joule changed the title extract Hide space and post refactor: Move hide space/post functionality to the separate extrinsics Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants